// function join(first: string | number, second: string | number) {
//     return `${first}${second}`;
//   }
//   console.log(join(111, '1111'))



// function join<GGGGGV>(first:GGGGGV, second: GGGGGV) {
//     return `${first}${second}`;
//   }
  
  
  
//   console.log(join<string>("www", ".com"))



// function join<Qiuxing>(first:Qiuxing, second: Qiuxing) {
//     return `${first}${second}`;
//   }
  
  
  
//   console.log(join<number>(111, 222))




function join<T, P>(first: T, second: P) {
    return `${first}${second}`;
  }
  join < number, string > (1, "2");